package com.careerraiser.testing;

import java.util.Comparator;

import com.careerraiser.parent.Animal;

public class AnimalComparator implements Comparator<Animal> {

	@Override
	public int compare(Animal o1, Animal o2) {
		return o1.getName().compareToIgnoreCase(o2.getName());
	}

}
